<div data-dux="table-bind">
    <div class="dux-page-header uk-clearfix">
        <div class="page-title">
            <form class="dux-form uk-form  uk-form-inline" method="get" action="{url()}">
                <div class="uk-form-group">
                    <input type="text" name="keyword" class="uk-form-field" value="{$pageMaps.keyword}"
                           placeholder="搜索">
                </div>
                <div class="uk-form-group">
                    <button type="submit" class="uk-button uk-button-primary"><i class="fa fa-search"></i></button>
                </div>
            </form>
        </div>
    </div>
    <div class="dux-page-table">
        <table class="uk-table  uk-table-responsive  uk-table-striped uk-table-hover uk-table-middle dux-table" data-table>
            <thead>
            <tr>
                <th>订单号</th>
                <th>收款金额</th>
                <th>物流</th>
                <th>创建时间</th>
                <th>收款时间</th>
                <th>收款状态</th>
                <th>收款备注</th>
                <th class="uk-text-center" width="150">管理</th>
            </tr>
            </thead>
            <tbody>
            <!--loop{$list as $vo}-->
            <tr>
                <td>
                    <a href="{url($vo.order_app . '/Order/info', ['id' => $vo.order_id])}" target="_blank">{$vo.order_no}</a>
                </td>
                <td class="uk-text-danger">
                    ￥{price_format($vo.order_price + $vo.delivery_price )}
                </td>
                <td>
                    {$vo.delivery_name}
                </td>
                <td>
                    {date('Y-m-d H:i:s', $vo.receipt_create_time)}
                </td>
                <td>
                    {$vo.receipt_time ? date('Y-m-d H:i:s', $vo.receipt_receipt_time) : '无'}
                </td>
                <td>
                    <!--if{$vo.receipt_status}-->
                    <span class="uk-text-success">已收款</span>
                    <!--{else}-->
                    <span class="uk-text-danger">待收款</span>
                    <!--{/if}-->
                </td>
                <td>
                    {$vo.receipt_remark ? $vo.receipt_remark : '无'}
                </td>
                <td class="uk-text-center">
                    <a class="uk-button uk-button-primary uk-button-small" href="javascript:;" title="确认收款" data-dux="dialog-open" data-title="确认收款" data-height="370px" data-url="{url('status', ['id'=>$vo['receipt_id']])}"><i class="fa fa-paypal"></i></a>
                    <a class="uk-button uk-button-danger uk-button-small" href="javascript:;"
                       data-url="{url('del')}" data-id="{$vo.delivery_id}" title="删除" data-del><i
                            class=" fa fa-trash"></i></a>
                </td>
            </tr>
            <!--{/loop}-->
            </tbody>
        </table>
    </div>
    <div class="dux-page-foot uk-clearfix">
        {$page}
    </div>
</div>